package xfuzzy.alg_genetico.modelo;

import xfuzzy.xfhl.model.hierStruct.XfhlModule;

public class Solucion {

	private XfhlModule modulo;
	private double fitness;
	
	public Solucion(XfhlModule modulo, double fitness)  {
		
		this.modulo = modulo;
		this.fitness = fitness;
	}
	
	public Solucion(XfhlModule modulo)  {
		
		this.modulo = modulo;
		this.fitness = Double.MAX_VALUE;
	}

	public XfhlModule getModulo() {
		return modulo;
	}

	public void setModulo(XfhlModule modulo) {
		this.modulo = modulo;
	}

	public double getFitness() {
		return fitness;
	}

	public void setFitness(double fitness) {
		this.fitness = fitness;
	}
}
